package com.designPattern.observer.dns;

/**
 * 解析记录
 * @author : liutianlong
 * @date : 2023/6/2
 * @since : 1.0
 */
public class Recorder {

    /**
     * 域名
     */
    private String domain;

    /**
     * ip地址
     */
    private String ip;

    /**
     * 解析者
     */
    private String owner;

    @Override
    public String toString() {
        return "Recorder{" +
                "域名='" + domain + '\'' +
                ", ip地址='" + ip + '\'' +
                ", 解析者='" + owner + '\'' +
                '}';
    }

    public String getDomain() {
        return domain;
    }

    public void setDomain(String domain) {
        this.domain = domain;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getOwner() {
        return owner;
    }

    public void setOwner(String owner) {
        this.owner = owner;
    }
}
